#pragma once

#define TOTAL_SIZE (16 * BLOCK_SIZE * BLOCK_SIZE) // 16 MB
#define NUM_BLOCKS (TOTAL_SIZE / BLOCK_SIZE)
#define MAX_FILE_SIZE ((10 + 512) * BLOCK_SIZE)
#define DATA_START (2 + 512 + 1024)
#define DATA_SIZE (TOTAL_SIZE - DATA_START * BLOCK_SIZE)
#define FCB_LIST_SIZE (32 * 512)
#define BLOCK_SIZE 1024 // 1KB，按字节寻址
#define INODE_LIST_SIZE (32 * 512)
#define MAX_FILE_NAME_LENGTH 30
#define DIRECT_BLOCK_SIZE 10

#define MAX_INPUT_SIZE 1024